package com.iflytek.yly.jetpackdemo.databinding;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import com.iflytek.yly.jetpackdemo.BR;
import com.iflytek.yly.jetpackdemo.R;

public class SimpleTextViewDemo6Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ActivityDatabindingDemo6Binding activityDatabindingDemo6Binding =
                DataBindingUtil.setContentView(this,R.layout.activity_databinding_demo6);


        activityDatabindingDemo6Binding.setVariable(BR.viewModel,new TwoWayBindingViewModel());

    }
}